package com.tiantian.service;

import java.util.List;
import java.util.Map;

import com.tiantian.bean.PageBean;
import com.tiantian.datajpa.service.GenericService;
import com.tiantian.domain.BackstageRole;
import com.tiantian.ret.Result;

public interface BackstageRoleService extends GenericService<BackstageRole, String> {
	public List<BackstageRole> list(Map<String, String> params, PageBean pageBean);

	public Result<Object> saveRole(String name, Map<String, Object> parameterMap);

	public Result<Object> updateRole(String id, Map<String, Object> parameterMap);

	public List<BackstageRole> findByUserId(String id);
}
